import { ref } from "vue";

const counter = () => {
  const count = ref(3);
  const add = () => {
    count.value++;
  };
  const minus = () => {
    count.value--;
  };

  return { count, add, minus };
};

export default counter;
